#ifndef MFBASE_H
#define MFBASE_H

#include<iostream>
#include<string>
#include<vector>
#include<list>
#include "process.h"

using namespace std;

class MFBase{

	public:
		MFBase();
		MFBase(int);
		~MFBase();
		Process run_next_process(bool, int);
		void print_gantt();
		void add_process(Process);
		bool contains(Process);
		bool is_empty();
		list<Process> get_aged_processes(int);
		
	private:
		list<Process> queue;
		vector<int> ran;
		int aging_time;
};

#endif

